package org.filecollector.filecontroller.basicsfilecontroller;

import lombok.NonNull;
import org.filecollector.filecontroller.virtualcatalogue.VirtualCatalogueDependencies;

import java.util.function.Consumer;
import java.util.function.Function;
import java.util.function.Supplier;

public record BasicsFileControllerDependencies(
        @NonNull Function<String, VirtualCatalogueDependencies> virtualCatalogueDependenciesProducer,
        @NonNull Consumer<String> tracer,
        @NonNull Consumer<String> informer,
        @NonNull Consumer<String> warner
) {

    public static BasicsFileControllerDependencies getTest() {
        return new BasicsFileControllerDependencies(
                (String _) -> VirtualCatalogueDependencies.getTest(),
                (String _) -> {},
                (String _) -> {},
                (String _) -> {}
        );
    }
}
